package com.cskaoyan.bean;

/**
 * 线程安全立即加载
 */
public class MySingleton4 {

    private static MySingleton4 mySingleton;
    static {
        mySingleton = new MySingleton4();
    }
    //私有构造方法
    private MySingleton4() {
    }

    public static MySingleton4 getInstance() {

        return mySingleton;
    }
}
